package com.mjh.zhujianju.vo.party;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.livew.framework.page.PagedResult;
import com.mjh.zhujianju.model.party.BuildingExamEO;
import com.mjh.zhujianju.model.party.BuildingExamResultEO;

import java.util.List;
import java.util.Map;

/**
 * @author liuyang
 * @Description:
 * @date 2018/8/18 14:54
 */
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class BuildingExamVO extends BuildingExamEO{

    /**
     * 参与人数
     */
    private Integer totalJoinUsers=0;

    /**
     * 考试用时
     */
    private String testTime;

    //考试时长
    private Long timeInterval;

    /**
     * 用户考试答卷 key->题目id，value->选择答案id
     */
    private Map<Long,List<Long>> map;

    private List<BuildingExamTopicVO> buildingExamTopicVOS;

    //个人考试结果
    private BuildingExamResultVO buildingExamResultVO;

    /**
     * 考试人员id
     */
    private Long userId;

    /**
     *  结果id
     */
    private Long resultId;

    public Long getResultId() {
        return resultId;
    }

    public void setResultId(Long resultId) {
        this.resultId = resultId;
    }

    private String startTimeStr;

    private String endTimeStr;


    //通过人数
    private Integer passedUsers;

    //未通过人数
    private Integer unpassedUsers;

    //平均分
    private Integer avgCounts;
    
    //
    private String openid;
     

    PagedResult<BuildingExamResultVO> pagedResult;

    public BuildingExamResultVO getBuildingExamResultVO() {
        return buildingExamResultVO;
    }

    public void setBuildingExamResultVO(BuildingExamResultVO buildingExamResultVO) {
        this.buildingExamResultVO = buildingExamResultVO;
    }

    public Integer getPassedUsers() {
        return passedUsers;
    }

    public void setPassedUsers(Integer passedUsers) {
        this.passedUsers = passedUsers;
    }

    public Integer getUnpassedUsers() {
        return unpassedUsers;
    }

    public void setUnpassedUsers(Integer unpassedUsers) {
        this.unpassedUsers = unpassedUsers;
    }

    public Integer getAvgCounts() {
        return avgCounts;
    }

    public void setAvgCounts(Integer avgCounts) {
        this.avgCounts = avgCounts;
    }

    public PagedResult<BuildingExamResultVO> getPagedResult() {
        return pagedResult;
    }

    public void setPagedResult(PagedResult<BuildingExamResultVO> pagedResult) {
        this.pagedResult = pagedResult;
    }

    public Long getTimeInterval() {
        return timeInterval;
    }

    public void setTimeInterval(Long timeInterval) {
        this.timeInterval = timeInterval;
    }

    public String getStartTimeStr() {
        return startTimeStr;
    }

    public void setStartTimeStr(String startTimeStr) {
        this.startTimeStr = startTimeStr;
    }

    public String getEndTimeStr() {
        return endTimeStr;
    }

    public void setEndTimeStr(String endTimeStr) {
        this.endTimeStr = endTimeStr;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTestTime() {
        return testTime;
    }

    public void setTestTime(String testTime) {
        this.testTime = testTime;
    }

    public Map<Long, List<Long>> getMap() {
        return map;
    }

    public void setMap(Map<Long, List<Long>> map) {
        this.map = map;
    }

    public Integer getTotalJoinUsers() {
        return totalJoinUsers;
    }

    public void setTotalJoinUsers(Integer totalJoinUsers) {
        this.totalJoinUsers = totalJoinUsers;
    }

    public List<BuildingExamTopicVO> getBuildingExamTopicVOS() {
        return buildingExamTopicVOS;
    }

    public void setBuildingExamTopicVOS(List<BuildingExamTopicVO> buildingExamTopicVOS) {
        this.buildingExamTopicVOS = buildingExamTopicVOS;
    }

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}
    
    
}
